﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace VoteInformationSystem.Models
{
    public interface IQRCodeRepository
    {
            /// <summary>
            /// Checks if a given QR Code is valid (exists and was not used)
            /// </summary>
            /// <param name="Id">The code to check</param>
            /// <returns>True if code is valid and false if not</returns>
            bool IsValid(string qrcode);
    }
}